export interface CreateOrUpdatePagesRequestData {
  id?: string | undefined
  name: string
  code: string
  sort: number
  isNav: string
  name_en?: string
}

export interface GetPagesRequestData {
  /** 当前页码 */
  page: number
  /** 查询条数 */
  size: number
  /** 查询参数：名字 */
  name?: string
}

export interface GetPagesDetailRequestData {
  /** 详情id */
  id: string
}

export interface GetPagesData {
  id: string
  name: string
  name_en: string
  code: string
  sort: number
  isNav: string
}
export type GetNewResponeseDetailData = ApiResponseData<GetPagesData>

export type GetPagesResponseData = ApiResponseData<{
  list: GetPagesData[]
  total: number
  page: number
}>
